package ui

import org.apache.wicket.protocol.http.WebApplication
import ui.PrincipalPage
import org.uqbar.commons.utils.ApplicationContext
import dominio.Planta
import dominio.Zombie
import home.HomeZombies
import home.HomePlantas

class PlantasVsZombiesApplication extends WebApplication {
	

	override protected init() {
		super.init()
		ApplicationContext.instance.configureSingleton(Zombie, new HomeZombies);
		ApplicationContext.instance.configureSingleton(Planta, new HomePlantas);
	}
	
	override getHomePage() {
		return PrincipalPage;
	}
	
}